<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page import="java.util.*;"%>

<%
	Calendar cal = new GregorianCalendar();
	int month = cal.get(Calendar.MONTH);
	int year = cal.get(Calendar.YEAR);
	int day = cal.get(Calendar.DAY_OF_MONTH);
	//System.out.println("Current date : " 
	//+ day + "/" + (month + 1) + "/" + year);
%>
<div id="reportCard">
<form>
<fieldset><legend>Report Card</legend>
<table cellpadding="10px" cellspacing="80px"
	style="border-collapse: collapse">
	<tr style="background-color: rgb(185, 201, 254)">
		<th rowspan="1">Subject Code</th>
		<th rowspan="1">Subject Name</th>
		<th rowspan="1" colspan="3">Marks</th>
		<th>Grade</th>
	</tr>
	<tr style="background-color: rgb(185, 201, 254)">
		<th></th>
		<th></th>
		<th>Theory</th>
		<th>Practical</th>
		<th>Total</th>
		<th></th>

	</tr>
	<tbody style="background-color: rgb(208, 218, 253)">
		<tr>
			<td>ENG100</td>
			<td>English</td>
			<td>90</td>
			<td>XXX</td>
			<td>90</td>
			<td>A</td>
		</tr>
		<tr>
			<td>MAT101</td>
			<td>Mathematics</td>
			<td>80</td>
			<td>XXX</td>
			<td>80</td>
			<td>B</td>
		</tr>
		<tr>
			<td>PHY102</td>
			<td>Physics</td>
			<td>40</td>
			<td>35</td>
			<td>75</td>
			<td>B</td>
		</tr>
		<tr>
			<td>CHE103</td>
			<td>Chemistry</td>
			<td>30</td>
			<td>30</td>
			<td>60</td>
			<td>C</td>
		</tr>
		<tr>
			<td>PH104</td>
			<td>Physical Education</td>
			<td>45</td>
			<td>40</td>
			<td>85</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Remarks</td>
			<td colspan="3"><textarea rows="5" cols="47" disabled="disabled">Chemistry Subject performance is not good and other subjects marks are appreciable</textarea></td>
			<td>Result:</td>
			<td>Pass</td>

		</tr>
		<tr>
			<td>Publish By:</td>
			<td colspan="2"><textarea rows="3" cols="30" disabled="disabled"
				style="text-align: left">
			Admin(School Management)
			</textarea></td>
			<td></td>
			<td>Division:</td>
			<td>First</td>
		</tr>
		<tr>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
		</tr>
		<tr>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td>Publish Date:</td>
			<td colspan="2"><%=year + "-" + (month + 1) + "-" + day%></td>
		</tr>
	</tbody>
</table>
</fieldset>
</form>
</div>